/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package structures.parserStructures;

import structures.tree.ParseTreeNode;

/**
 *
 * @author Vlad
 */
public class StackElem {

    private ParseTreeNode node;
    private int state;

    public StackElem(ParseTreeNode node, int state) {
        this.node = node;
        this.state = state;
    }

    public ParseTreeNode getNode() {
        return node;
    }

    public void setNode(ParseTreeNode node) {
        this.node = node;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
